package com.unet.disk.disk.service.impl;

import com.unet.common.utils.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.unet.common.utils.PageUtils;

import com.unet.disk.disk.dao.MemberBalanceLogDao;
import com.unet.disk.disk.entity.MemberBalanceLogEntity;
import com.unet.disk.disk.service.MemberBalanceLogService;


@Service("memberBalanceLogService")
public class MemberBalanceLogServiceImpl extends ServiceImpl<MemberBalanceLogDao, MemberBalanceLogEntity> implements MemberBalanceLogService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MemberBalanceLogEntity> page = this.page(
                new Query<MemberBalanceLogEntity>().getPage(params),
                new QueryWrapper<MemberBalanceLogEntity>()
        );

        return new PageUtils(page);
    }

}